<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>溢出属性案例</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            width: 700px;
            height: 200px;
            background-color: blanchedalmond;
            overflow: auto;
        }
        .special{
            width: 150px;
            height: 100px;
            font-size: 10px;
            float: left;
            margin-right: 15px;
            margin-bottom: 15px;
            border-color: blueviolet;
            border: 1px solid;
        }
        .other{
            height: 70px;
            font-size: 10px;
            color:rgb(163, 164, 164);
            background-color: rgb(195, 191, 191);
            padding-left: 10px;
        }
        .q1{
            height: 45px;
            line-height: 45px;
        }
        .q2{
            height: 25px;
            line-height: 25px;
        }
        .another{
            height: 30px;
            line-height: 30px;
            color: black;
            background-color: aliceblue;
            /* background: url(.image); */

        }
        .special:hover .other{
            background: rgb(242, 172, 184);
            color: white;
        }
        
        .special:hover .another{
            background: rgb(4, 4, 4);
            color: rgb(255, 253, 253);
            background-image: url(image/1.jpg);
            background-repeat: no-repeat;
        }

    </style>
</head>
<body>
    <div class="box">
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
        <div class="special">
            <div class="other">
                <p class="q1">$100.00圆</p>
                <p class="q2">有效期至：2021-5-1</p>
            </div>
            <div class="another">
                <p><center>【店铺类】【商城类】</center></p>
            </div>
        </div>
    </div>
</body>
</html>